<template>
    <div class="environmental_monitoring">
        <div class="top">
            <span>环境检测</span>
            <img style="margin-left: 10px;" src="../../assets/images/Combined Shape.png" alt="">
        </div>
        <div class="main">
            <div class="top1">
                <p><span class="sp1">°C</span>
                    <span class="sp2">高温黄色预警</span>
                </p>

            </div>
            <div class="center1">
                <div>
                    <el-icon class="icon1">
                        <LocationInformation />
                    </el-icon>
                    <span>风速</span>
                </div>
                <div>
                    <el-icon class="icon1">
                        <Help />
                    </el-icon>
                    <span>风向</span>
                </div>
                <div>
                    <el-icon class="icon1">
                        <Timer />
                    </el-icon>
                    <span>湿度</span>
                </div>
            </div>
            <div class="bottom1">
                <div>
                    <p>
                        <span>~°C</span><span>🌙</span>
                    </p>
                     <p>
                        <span>今天</span><span>晴</span>
                    </p>
                </div>
                <div>
                      <p>
                        <span>~°C</span><span style="color: orange;">☀</span>
                    </p>
                     <p>
                        <span>明天</span><span>晴</span>
                    </p>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup lang='ts'>

</script>

<style scoped lang="scss">
.environmental_monitoring {
    width: 100%;

    .top {
        width: 100%;
        height: 40px;
        background-image: url("../../assets/images/左.png");
        background-size: 100% 100%;
        color: #91a6ff;
        font-weight: bold;
        display: flex;
        align-items: center;
        font-size: 18px;

        span {
            text-indent: 20px;
        }
    }

    .main {
        width: 100%;
        height: 425px;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 10px;

        .top1 {
            width: 80%;
            height: 90px;
            // background-color: red;
            margin: 0 auto;

            .sp1 {

                font-size: 52px;
                color: #fff;
                font-weight: 200;
                padding-left: 30px;
            }

            .sp2 {
                display: inline-block;
                color: rgb(242, 195, 109);
                font-size: 12px;
                margin-left: 170px;
            }


        }

        .center1 {
            width: 80%;
            height: 140px;
            background: rgba(255, 245, 245, 0.1);
            margin: 0 auto;

            div {
                width: 100%;
                height: 47px;
                border-top: 2px solid #fff;
                font-size: 14px;
                line-height: 47px;
                color: #fff;

                .icon1 {
                    margin-left: 10px;
                    font-size: 26px;

                    span {
                        display: inline-block;
                        margin-top: 20px;
                        margin-left: 10px;
                    }
                }
            }
        }

        .bottom1 {
            width: 80%;
            height: 100px;
           background: rgba(255, 255, 255, 0.1);
            margin: 0 auto;
            margin-top: 10px;

            div {
                width: 49%;
                float: left;
                height: 100px;
                border-left: 2px solid #fff;
                font-size: 21px;
                color: #fff;
               
                line-height: 50px;
                span{
                    display: inline-block;
                    margin-left: 40px;
                }
            }
        }
    }
}
</style>